﻿using System.Windows;
using System.Windows.Threading;

namespace TypograFix
{
  /// <summary>
  /// Interaction logic for App.xaml
  /// </summary>
  public partial class App : Application
  {
    internal static ConversionOptions ConversionOptions { get; set; }

    private void OnUnhandledException(object sender, DispatcherUnhandledExceptionEventArgs e)
    {
      MessageBox.Show(
        "Unhandled exception: " + e,
        "Unhandled exception", MessageBoxButton.OK);
    }

    private void Application_Startup(object sender, StartupEventArgs e)
    {
      ConversionOptions = new ConversionOptions();
    }
  }
}